<!--[ include file="admin_header_menu.htm" ]--><div style="clear:both"></div>

<link rel="stylesheet" href="<!--[modulepath]-->/pnjavascript/highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="<!--[modulepath]-->/pnjavascript/highslide/highslide-with-html.packed.js"></script>
<script type="text/javascript">    
    hs.graphicsDir = '<!--[modulepath]-->/pnjavascript/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.outlineWhileAnimating = true;
</script>

<script type="text/javascript">    
    function onSelectIcon2d(obj,icon,path){
      var icon_preview = document.getElementById('icon2d_preview');
      var icon_field = document.getElementById('icon2d_field');
      icon_field.value = icon;
      icon_preview.innerHTML = "<img width='64px' src='"+ path +"/" + icon +"' />";
      hs.close();
      return false;
    }
</script>


<fieldset>
<legend><!--[pnml name='_INNOFORUM_ADMIN_FORM_CATEGORY_ADDEDITCATEGORY']--></legend>
<form id='form' class='form' action="<!--[pnmodurl modname='InnoForum' type='adminform' func='submit' ctrl='productstate']-->" method="post">
<input type="hidden" name="form[id]" value="<!--[$_GET.id]-->" />
<table width="100%" border="0">
  <tr>
    <td width="20%" class='td-label'><!--[pnml name='_INNOFORUM_ADMIN_FORM_PRODUCTSTATE_ID']--></td>
    <td width="80%"><!--[$_GET.id]--></td>
  </tr>
  <tr>
    <td width="20%" class='td-label'><!--[pnml name='_INNOFORUM_ADMIN_FORM_PRODUCTSTATE_NAME']--></td>
    <td width="80%"><input type="text" name="form[name]" value="<!--[$form.name]-->" title="Please enter category name" class="required"  /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
  		<div align="center">
      <button name="button_submit" value='Submit' type="submit" class="button"><img align="absmiddle" src="<!--[modulepath]-->/pnimages/001_06.png" /><!--[pnml name='_INNOFORUM_ADMIN_FORM_CATEGORY_SUBMIT']--></button>&nbsp;&nbsp;
      <button name="button_cancel" value='Cancel' type="submit" class="button"><img align="absmiddle" src="<!--[modulepath]-->/pnimages/001_29.png" /><!--[pnml name='_INNOFORUM_ADMIN_FORM_CATEGORY_CANCEL']--></button>
	  </div>
    </td>
  </tr>
</table>

</form>
</fieldset>
<div class="highslide-html-content" id="icon_set1">
<div class="highslide-header">
  <ul>
    <li class="highslide-move">
      <a href="#" onclick="return false"><!--[pnml name='_INNOFORUM_ADMIN_FORM_CATEGORY_MOVE']--></a>
    </li>
    <li class="highslide-close">
      <a href="#" onclick="return hs.close(this)"><!--[pnml name='_INNOFORUM_ADMIN_FORM_CATEGORY_CLOSE']--></a>
    </li>
  </ul>	    
</div>
<div class="highslide-body">
  <!--[foreach from=$extendResult.icon item=icon]-->
  <a href='#' onclick="return onSelectIcon2d(this,'<!--[$icon]-->','<!--[const name='CATEGORY_ICON_LARGE_PATH']-->')"><img width="48" height="48"  src="<!--[const name='CATEGORY_ICON_LARGE_PATH']-->/<!--[$icon]-->" /></a>&nbsp;
  <!--[/foreach]-->
</div>
  <div class="highslide-footer">
      <div>
          <span class="highslide-resize" title="Resize">
              <span></span>
          </span>
      </div>
  </div>
</div>
<!--[include file='admin_std_footer.htm']-->